home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
03
/
8
/
DISK0386.ZIP
/
WASSIG.FOR
< prev
next >
Wrap
Text File
|
1985-05-02
|
451b
|
26 lines
$NOFLOATCALLS
$STORAGE: 2
SUBROUTINE WASSIG(IUNIT,NAME)
C
C
CHARACTER*1 NAME(50)
INTEGER*2 IUNIT
CHARACTER*20 WK
CHARACTER*1 WK1(20)
EQUIVALENCE(WK,WK1(1))
C JUST TRY AND NULL FILL A NAME TO USE.
DO 1 N=1,20
WK1(N)=' '
1 CONTINUE
DO 2 N=1,20
II=ICHAR(NAME(N))
IF(II.LT.32)GOTO 3
WK1(N)=CHAR(II)
C1 CONTINUE
2 CONTINUE
3 OPEN(IUNIT,FILE=WK,STATUS='NEW',ACCESS='SEQUENTIAL',
1 FORM='FORMATTED')
RETURN
END